package HLLib.base;

import HLCode.HLClass;
import HLCode.HLClassManager;
import HLCode.HLClassManager_H;
import HLCode.HLLibObject;

public class HLImageInfo extends HLLibObject {
    public HLClass GetClass(HLClassManager classManager) {
        return classManager.GetLibClass(HLClassManager_H.CLASS_GROUP_TYPE_LIB_BASE, HLClassManager_H.LIB_CLASS_BASE_ImageInfo);
    }

    public int GetInt(int index) {
        switch (index) {
        case 0: {
            return imagePackageIndex;
        }
        case 1: {
            return imageIndex;
        }
        case 2: {
            return id;
        }
        }
        return 0;
    }

    public void SetInt(int index, int value) {
        switch (index) {
        case 0: {
            imagePackageIndex = (short) value;
            return;
        }
        case 1: {
            imageIndex = (short) value;
            return;
        }
        case 2: {
            id = value;
            return;
        }
        }
    }

    public boolean GetBoolean(int index) {
        return existed;
    }

    public void SetBoolean(int index, boolean value) {
        existed = value;
    }

    public short imagePackageIndex;

    public short imageIndex;

    public int id;

    public boolean existed;
}
